package com.dx.common.base.core;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;

public class LogWriter implements Runnable {
	private Record systemLog;
	
	public LogWriter(Record systemLog){
		this.systemLog=systemLog;
	}
	
	@Override
	public void run() {
		Db.save("my_system_log", systemLog);
	}

}
